/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package GUI.Jogo;

import Biblioteca.VerificaErros;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JOptionPane;

/**
 *
 * @author Igor
 */
public class FramePanelJogo extends javax.swing.JPanel {

    //Atributos
    private FrameJogo frameJogo;
    
    /**
     * Creates new form FramePanelJogo
     */
    public FramePanelJogo(FrameJogo frameJogo) {
        initComponents();
        this.frameJogo = frameJogo;
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        buttonTristeza = new javax.swing.JButton();
        buttonMedo = new javax.swing.JButton();
        labelImagem = new javax.swing.JLabel();
        buttonSurpresa = new javax.swing.JButton();
        buttonRaiva = new javax.swing.JButton();
        buttonNojo = new javax.swing.JButton();
        labelStatus = new javax.swing.JLabel();
        buttonAlegria = new javax.swing.JButton();
        buttonPausarJogo = new javax.swing.JButton();
        buttonNeutro = new javax.swing.JButton();
        buttonPausarJogo1 = new javax.swing.JButton();
        buttonAlegria1 = new javax.swing.JButton();
        buttonTristeza1 = new javax.swing.JButton();
        buttonNojo1 = new javax.swing.JButton();
        buttonMedo1 = new javax.swing.JButton();
        buttonSurpresa1 = new javax.swing.JButton();
        buttonRaiva1 = new javax.swing.JButton();
        buttonNeutro1 = new javax.swing.JButton();

        buttonTristeza.setBackground(new java.awt.Color(51, 51, 255));
        buttonTristeza.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonTristeza.setText("TRISTEZA");
        buttonTristeza.setActionCommand("");
        buttonTristeza.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonTristezaActionPerformed(evt);
            }
        });

        buttonMedo.setBackground(new java.awt.Color(255, 255, 0));
        buttonMedo.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonMedo.setText("MEDO");
        buttonMedo.setActionCommand("");
        buttonMedo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonMedoActionPerformed(evt);
            }
        });

        labelImagem.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        labelImagem.setToolTipText("");

        buttonSurpresa.setBackground(new java.awt.Color(255, 102, 0));
        buttonSurpresa.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonSurpresa.setText("SURPRESA");
        buttonSurpresa.setActionCommand("");
        buttonSurpresa.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonSurpresaActionPerformed(evt);
            }
        });

        buttonRaiva.setBackground(new java.awt.Color(153, 0, 0));
        buttonRaiva.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonRaiva.setText("RAIVA");
        buttonRaiva.setActionCommand("");
        buttonRaiva.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonRaivaActionPerformed(evt);
            }
        });

        buttonNojo.setBackground(new java.awt.Color(102, 0, 102));
        buttonNojo.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonNojo.setText("NOJO");
        buttonNojo.setActionCommand("");
        buttonNojo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonNojoActionPerformed(evt);
            }
        });

        labelStatus.setText("labelStatus");

        buttonAlegria.setBackground(new java.awt.Color(0, 102, 0));
        buttonAlegria.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonAlegria.setText("ALEGRIA");
        buttonAlegria.setActionCommand("");
        buttonAlegria.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonAlegriaActionPerformed(evt);
            }
        });

        buttonPausarJogo.setText("Pausar Jogo");
        buttonPausarJogo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonPausarJogoActionPerformed(evt);
            }
        });

        buttonNeutro.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonNeutro.setText("NEUTRO");
        buttonNeutro.setActionCommand("");
        buttonNeutro.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonNeutroActionPerformed(evt);
            }
        });

        buttonPausarJogo1.setText("Pausar Jogo");
        buttonPausarJogo1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonPausarJogo1ActionPerformed(evt);
            }
        });

        buttonAlegria1.setBackground(new java.awt.Color(0, 102, 0));
        buttonAlegria1.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonAlegria1.setText("ALEGRIA");
        buttonAlegria1.setActionCommand("");
        buttonAlegria1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonAlegria1ActionPerformed(evt);
            }
        });

        buttonTristeza1.setBackground(new java.awt.Color(51, 51, 255));
        buttonTristeza1.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonTristeza1.setText("TRISTEZA");
        buttonTristeza1.setActionCommand("");
        buttonTristeza1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonTristeza1ActionPerformed(evt);
            }
        });

        buttonNojo1.setBackground(new java.awt.Color(102, 0, 102));
        buttonNojo1.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonNojo1.setText("NOJO");
        buttonNojo1.setActionCommand("");
        buttonNojo1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonNojo1ActionPerformed(evt);
            }
        });

        buttonMedo1.setBackground(new java.awt.Color(255, 255, 0));
        buttonMedo1.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonMedo1.setText("MEDO");
        buttonMedo1.setActionCommand("");
        buttonMedo1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonMedo1ActionPerformed(evt);
            }
        });

        buttonSurpresa1.setBackground(new java.awt.Color(255, 102, 0));
        buttonSurpresa1.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonSurpresa1.setText("SURPRESA");
        buttonSurpresa1.setActionCommand("");
        buttonSurpresa1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonSurpresa1ActionPerformed(evt);
            }
        });

        buttonRaiva1.setBackground(new java.awt.Color(153, 0, 0));
        buttonRaiva1.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonRaiva1.setText("RAIVA");
        buttonRaiva1.setActionCommand("");
        buttonRaiva1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonRaiva1ActionPerformed(evt);
            }
        });

        buttonNeutro1.setFont(new java.awt.Font("Tahoma", 1, 13)); // NOI18N
        buttonNeutro1.setText("NEUTRO");
        buttonNeutro1.setActionCommand("");
        buttonNeutro1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                buttonNeutro1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(labelStatus)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(buttonTristeza, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(buttonNojo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(buttonMedo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(buttonSurpresa, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(buttonRaiva, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(buttonAlegria, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(buttonNeutro, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(buttonPausarJogo1, javax.swing.GroupLayout.Alignment.TRAILING))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(labelImagem, javax.swing.GroupLayout.PREFERRED_SIZE, 600, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(buttonPausarJogo)
                            .addComponent(buttonTristeza1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(buttonNojo1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(buttonMedo1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(buttonSurpresa1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(buttonRaiva1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(buttonAlegria1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(buttonNeutro1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addGap(7, 7, 7))
        );

        layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {buttonAlegria, buttonAlegria1, buttonMedo, buttonMedo1, buttonNeutro, buttonNeutro1, buttonNojo, buttonNojo1, buttonRaiva, buttonRaiva1, buttonSurpresa, buttonSurpresa1, buttonTristeza, buttonTristeza1});

        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(labelStatus)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(buttonAlegria1, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(buttonTristeza1, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(buttonNojo1, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(buttonMedo1, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(buttonSurpresa1, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(buttonRaiva1, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(buttonNeutro1, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(48, 48, 48)
                        .addComponent(buttonPausarJogo))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(2, 2, 2)
                                .addComponent(labelImagem, javax.swing.GroupLayout.PREFERRED_SIZE, 600, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(136, 136, 136)
                                .addComponent(buttonAlegria, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(buttonTristeza, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(buttonNojo, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(buttonMedo, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(buttonSurpresa, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(buttonRaiva, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(buttonNeutro, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(buttonPausarJogo1)))
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {buttonAlegria, buttonMedo, buttonNeutro, buttonNojo, buttonRaiva, buttonSurpresa, buttonTristeza});

    }// </editor-fold>//GEN-END:initComponents

    private void buttonTristezaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonTristezaActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(6);
    }//GEN-LAST:event_buttonTristezaActionPerformed

    private void buttonMedoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonMedoActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(2);
    }//GEN-LAST:event_buttonMedoActionPerformed

    private void buttonSurpresaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonSurpresaActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(5);
    }//GEN-LAST:event_buttonSurpresaActionPerformed

    private void buttonRaivaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonRaivaActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(4);
    }//GEN-LAST:event_buttonRaivaActionPerformed

    private void buttonNojoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonNojoActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(3);
    }//GEN-LAST:event_buttonNojoActionPerformed

    private void buttonAlegriaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonAlegriaActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(1);
    }//GEN-LAST:event_buttonAlegriaActionPerformed

    private void buttonPausarJogoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonPausarJogoActionPerformed
        // TODO add your handling code here:
        if (labelImagem.getName().equals("imagemRosto") && labelImagem.getIcon() != null) {
            this.frameJogo.getJogo().pausarJogo();
        }
    }//GEN-LAST:event_buttonPausarJogoActionPerformed

    private void buttonNeutroActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonNeutroActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(0);
    }//GEN-LAST:event_buttonNeutroActionPerformed

    private void buttonPausarJogo1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonPausarJogo1ActionPerformed
        // TODO add your handling code here:
        if (labelImagem.getName().equals("imagemRosto") && labelImagem.getIcon() != null) {
            this.frameJogo.getJogo().pausarJogo();
        }
    }//GEN-LAST:event_buttonPausarJogo1ActionPerformed

    private void buttonAlegria1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonAlegria1ActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(1);
    }//GEN-LAST:event_buttonAlegria1ActionPerformed

    private void buttonTristeza1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonTristeza1ActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(6);
    }//GEN-LAST:event_buttonTristeza1ActionPerformed

    private void buttonNojo1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonNojo1ActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(3);
    }//GEN-LAST:event_buttonNojo1ActionPerformed

    private void buttonMedo1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonMedo1ActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(2);
    }//GEN-LAST:event_buttonMedo1ActionPerformed

    private void buttonSurpresa1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonSurpresa1ActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(5);
    }//GEN-LAST:event_buttonSurpresa1ActionPerformed

    private void buttonRaiva1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonRaiva1ActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(4);
    }//GEN-LAST:event_buttonRaiva1ActionPerformed

    private void buttonNeutro1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonNeutro1ActionPerformed
        // TODO add your handling code here:
        avaliarImagemApresentada(0);
    }//GEN-LAST:event_buttonNeutro1ActionPerformed

    private void avaliarImagemApresentada(int idExpressao) {
        boolean avaliarImagem = true;
        try {
            if (labelImagem.getIcon() == null || !labelImagem.getName().equals("imagemRosto")) {
                avaliarImagem = false;
            }

            //Fase dinamica o usuario nao pode realizar avaliacao qnd estiver apresentando a expressao NEUTRA, ou seja, a primeira imagem
            if(this.frameJogo.getJogo() != null){
                if(this.frameJogo.getJogo().getFase() == 2
                        && this.frameJogo.getJogo().getFaseDinamica() != null
                        && this.frameJogo.getJogo().getFaseDinamica().getIndiceImagemApresentada()-1 == 0){
                    avaliarImagem = false;
                }
            }
            
            if(avaliarImagem){
                this.frameJogo.getJogo().avaliarImagem(idExpressao);
            }
        } catch (Exception e) {
            JOptionPane.showMessageDialog(null, VerificaErros.retornaMensagemErro(e), "Erro!", JOptionPane.ERROR_MESSAGE);
        }
    }
    
    public JLabel getLabelImagem(){
        return labelImagem;
    }
    
    public JLabel getLabelStatus(){
        return labelStatus;
    }
    
    public JButton getButtonNeutro(){
        return buttonNeutro;
    }
    
    public JButton getButtonNeutro1(){
        return buttonNeutro1;
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton buttonAlegria;
    private javax.swing.JButton buttonAlegria1;
    private javax.swing.JButton buttonMedo;
    private javax.swing.JButton buttonMedo1;
    private javax.swing.JButton buttonNeutro;
    private javax.swing.JButton buttonNeutro1;
    private javax.swing.JButton buttonNojo;
    private javax.swing.JButton buttonNojo1;
    private javax.swing.JButton buttonPausarJogo;
    private javax.swing.JButton buttonPausarJogo1;
    private javax.swing.JButton buttonRaiva;
    private javax.swing.JButton buttonRaiva1;
    private javax.swing.JButton buttonSurpresa;
    private javax.swing.JButton buttonSurpresa1;
    private javax.swing.JButton buttonTristeza;
    private javax.swing.JButton buttonTristeza1;
    private javax.swing.JLabel labelImagem;
    private javax.swing.JLabel labelStatus;
    // End of variables declaration//GEN-END:variables
}
